package com.zk.stock.service;

import cn.hutool.http.server.HttpServerResponse;
import com.zk.stock.pojo.domain.*;
import com.zk.stock.vo.resp.PageResult;
import com.zk.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author 曹自康的Laptop
 * @version 1.0
 * @Date 2024-06-3018:15
 */

public interface StockService {
    R<List<InnerMarketDomain>> getInnerMarket();


    R<List<StockBlockDomain>> getStockBlockAll();

    R<PageResult<StockUpdownDomain>> getStockInfoByPage(Integer page, Integer pageSize);


    List<StockUpdownDomain> stockUpdownDomainList();

    R<Map<String, List>> getStockUpDownCount();

    /**
     * 导出指定页码的最新股票信息
     * @param page
     * @param pageSize
     * @param response
     */

    void exportStockUpDownInfo(Integer page, Integer pageSize, HttpServletResponse response);

    R<Map<String, List>> getStockTradeAmt();

    R<Map> getIncreaseRangeInfo();


    R<List<Stock4MinuteDomain>> getScreenTimeSharing(String code);


    R<List<Stock4EvrDayDomain>> getScreenDkline(String code);
}
